<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%
	String path = request.getContextPath() + "/OurHome";
	String username = (String)session.getAttribute("username");
%>
<script language="javascript" src="images/jquery.js"></script>
<link href="<%=path %>/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div id="left">
		<div id="lhead">管理菜单</div>
		<%
			if(username != null){
		%>
				<ul>
					<li><a href="<%=path %>/index.jsp">首页</a></li>
					<li><a href="<%=path %>/sort/addsort.jsp">分类管理</a></li>
					<li><a href="<%=path %>/client/holdclient.jsp">现有客户</a></li>
					<li><a href="<%=path %>/about/showcontact.jsp">留言管理</a></li>
					<li><a href="<%=path %>/product/showproduct.jsp">产品服务</a></li>
					<li><a href="<%=path %>/about/about.jsp">关于我们</a></li>
					<li><a href="<%=path %>/culture/company_culture.jsp">企业文化</a></li>
					<li><a href="<%=path %>/scheme/scheme.jsp">解决方案</a></li>
					<li><a href="<%=path %>/adv/advertising.jsp">广告管理</a></li>
				</ul>
		<%		
			}else{
				request.getRequestDispatcher("login.jsp").forward(request,response);
		%>
				<ul><li><a href="<%=path %>/login.jsp">请先登录</a></li></ul>
		<%		
			}
		%>
	</div>
</body>
</html>